package com.neusoft.yuejian_01.service;

import java.util.List;
import java.util.Map;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;

/**
 * Created by MARIA on 2017/10/21.
 */

public interface TestService {
    @Multipart
    @POST("Post/uploadImg")
    Call<String> uploadFile (@Part("u_id") int u_id,
                             @Part("c_id") int c_id,
                             @Part("p_title") String postinfo,
                             @PartMap() Map<String,RequestBody> imgs);

}
